package main

import (
	"fmt"
)

type initSingle struct {
}

var initSingleInstance *initSingle

func init() {
	fmt.Println("Creating initSingle instance now.")
	initSingleInstance = &initSingle{}
}
func getInitSingleInstance() *initSingle {
	if initSingleInstance == nil {
		fmt.Println("initSingle is nil.")
	} else {
		fmt.Println("initSingle instance already created.")
	}
	return initSingleInstance
}
